package com.platform.dao;

import com.platform.entity.IncomeCoinEntity;
import org.apache.ibatis.annotations.Param;

import java.math.BigDecimal;
import java.util.Map;

/**
 * 运动币记录表Dao
 *
 * @author lipengjun
 * @email 939961241@qq.com
 * @date 2019-02-20 19:49:17
 */
public interface IncomeCoinDao extends BaseDao<IncomeCoinEntity> {

    BigDecimal totalDetail(@Param("key") int key);

    BigDecimal queryCoins(Map<String, Object> map);

    BigDecimal queryMining(Map<String, Object> map);

}
